<div class="ticketTooltip {% if ticket.completed %}complete{% else %}incomplete{% endif %}">
    <h3>{{ticket.summary}}</h3>
    {% if ticket.completed %}
    <p><em>Completed {{ticket.updated}} by {{ticket.owner}}</em></p>
    {% else %}
    <p><em>{{ticket.owner}}</em></p>
    {% endif %}
    {% if not ticket.estimated_time %}
    <p><em>No time estimate provided</em></p>
    {% endif %}
    <dl>
        {% if ticket.estimated_time %}
        <dt>estimated time</dt>
        <dd>{{ticket.estimated_time}} hours</dd>            
        {% endif %}
        <dt>percent complete</dt>
        <dd>{{ticket.percent_complete}}%</dd>
        {% if ticket.category %}
        <dt>category</dt>
        <dd><a href="/categories/{{ticket.get_category.key}}/">{{ticket.category}}</a></dd>
        <br>
        {% endif %}
    </dl>
    <br style="clear:both;">
    <a class="edit" href="{{ticket.id}}" target="_blank">edit on issue tracker</a>
    
</div>
